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