Handle sqlsessions from noodle global var