Feature/iteration 4 dev end of time

Sessions auto close when their end time expires.