Change poller to event_monitor

Signed-off-by: LAN Xingcan <lanxingcan@gmail.com>
Add member function stop for scheduler

Signed-off-by: LAN Xingcan <lanxingcan@gmail.com>
Add block_guard

Signed-off-by: LAN Xingcan <lanxingcan@gmail.com>