synchronize internal connect
try to reconnect if Idle monitor fails
delete temp file