poll.rb: remove some ws bs
Source poll thread safety: lock source polling
move go_idle to ensure
change @polling to Mutex for thread safety