Added thread monitors and async tasks
Added thread monitors