Set a timeout of 5 seconds