trying clear_active_connections! in a before block