Made isOpen() synchronized
Commenting