using queue for closed list as well
cleanup