Do not call close_callback when it's None