Add mongoose connection err handling.