Added an alternative timeout mechanism to slow down framerate