Fixed concurrent handlers bug.