implemented kill() on mac, but test_hard_kill does not work