[SSSD] [sssd PR#974][+Accepted] util/server: Fix the timing to close() the PID file