Catch exception which can be thrown by $session->start()