call setup routine in reactor thread