the browser vaadin UI closed that server-side can listened in vaadin 8?

Do the browser close that the server-side have any listener that can release the resource? I have try detach() but it no response