Fix ControlCommandsTest to don't hang from monitor test because of timing issue

Monitor command test sometimes hang when input thread run earlier than monitor thread.

I modified test to input thread waits for monitor thread to start, and resume running.
(Actually I implemented this by sleep 100ms.)