added run_detached method to Thread