Fixed PHP-906: Segfault in mongo_deregister_callback_from_connection