Adjust server socket test to close thread

 - changed variable names for workers to be more descriptive