How do you check if all instances of forms (or simply all forms of an application) has already been closed?