Is there an is connected method available on client object? Whats the best way to make sure client is connected to beanstalk?