Cleaning up results map, upon terminal state