Stop in_exec immediately at shutdown

in_exec plugin with `run_interval` option does not stop immediately when sending shutdown signal.
It waits at most `run_interval` seconds because the process is sleeping and not interrupted.
`Thread#run` interrupts sleep, so this fixes the problem.