trying manualresetevent rather than console.readline