Right now, the tasks backend is using SQLAlchemy's session for reading task data from the database. Richard and I think that we should not be using sessions for reading job data because its simply unnecessary for reads in our opinion.
Addressing this issue requires completion of two tasks:-