Make sure monitor is attached in one connection before issuing commands to be monitored in another one