Add exception handling and getReservationTimeLeftInSeconds