Only call the "connect callback" if the callback is set to non-NULL