Handle NullPointerException in FayePushClient.