messages continue to work when closing a tab