Fix minor warnings
Mark closed WebDAV session as closed