using daemon threads for the InstanceMonitor for cleaner shutdown