implemented stopAll()