Fix some race conditions

I've ran docker-stress for two hours without any race conditions and deadlocks.
no, this is only created at the creation of the monitor and will panic if you close twice