add sleep between successive key addition/deletion calls to fix flaky tests