Connection error handling

Add handler for superagent's exceptions, now error will be passed to callback.
To reproduce my issue try to do something with wrong configured or stopped db.