Connection handleResult - check if callback exists before invoking.

This line was causing Unhandled 'error' event for some queries.
Throwing: `TypeError: object is not a function`

Doing some investigation I found out that callback was null in some cases.