swaydb
synchronized around add and clear because after Actor.terminate the actor should to queue more messages.