fix mode handler
add delay to wait for vhost to apply
Circa.unload_module: add_listener should be remove_listener