Added 5 second timout to the recognition process, also added extraction of probability to recognition