Remove non-bound session when all tabs are removed

This leaves non-bound session if the window is closed while some tabs
remain