By looking at the source of clean_user_sandbox in  it can be seen that most of the code differences are within 'run()' of the bot class. Thus I would like to propose some slight adaptions in clean_sandbox in such a way, that e.g. the get and put operations can be omitted. May be the two codes can be completely merged/joned together.
If this is accepted I am willing to write the needed code.