Fixed PushService to close nicely.