Requests to close the current PWA.
The timeout of close in milliseconds or null if no timeout should be used