Control.Concurrent.Timeout

threadDelay

timeout