Fix: the open call back actually checks the close callback, which trigge...

Fix: the open call back actually checks the close callback