Replace ConcurrentHashMap with mutable.HashMap and remove @volatile from 'stopped'