We can switch session in a scratchbox. If we get a message saying You must close your other scratchbox sessions first, we can issue a killall command to close the programs running on scratchbox.

sb-conf killall --signal=9 # 9 or any other number

After that switch the session.