[SSSD] [sssd PR#922][+Changes requested] Fix timing to save errno