poll for signal changes inside EM loop, fixes reloading behaviour
fix exit_on_queue_empty for benchmark task
Merge pull request #415 from ali-graham/reload_in_eventmachine_context

poll for signal changes inside EM loop, fixes reloading behaviour