fixed error in 'loadQueue' when 'purgeQueue' was called during active timeout (closes #403)