Add check for broken pipe in BeanstalkConnectionStreamSocket