Fix pusher client test on shutdown