Terminate a thread after an interval if not returned Terminate a thread after an interval if not returned multithreading multithreading