adding worker support for multiple connection types