Refactoring: separate worker processing single cilent session