core: Make the status-fd monitor work for all gpgsm commands.