correctly check if the host is about to do gc