Add a timeout to the recognition