added thread timeouts