setting the listener that uses workerpoll as the default