Trying to get the timeout to work