Handle killing threads without having to sleep

 * Resolves #3