added try catch for .close of the page object, bacause in some cases .close was invoked for already closed object