Run a command and timeout if the command doesn't finish within a specified amount of time.