Refreshing the background page does re-open the socket, but the inbox and other windows don't reattach correctly. Reload the whole runtime to force close all windows, reload the background, and re open the inbox.