Check for closed before each listener