swaydb
synchronized around add and clear because after Actor.terminate the actor should to queue more messages.
(Since version ) see corresponding Javadoc for more information.