Use db.slave_session instead of each time creating and getting a new session with get_session