Fix: the open call back actually checks the close callback, which trigger an error
Merge pull request #5 from CrazyGentleMan/fix_openCallback

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