kill with sigterm before send a sigkill
some improvments
fix timeout test
Merge pull request #26 from AnyFetch/better-killing

kill with sigterm before send a sigkill