handle node reconnect

lock task while dispatching