added handlers on separate thread