Map has already been destroyed by this point, so the call is invalid. The work that terminate() would do has already been done.