removed clockwork because of bug when setting session.driver to null