fix close() implementation in \OC\Session\Internal