monitor using 1 thread only