have ```bind_default_ldap_server``` return false on failure and then you can do this:
```ruby
return unless session_handle
```