Copied Long_Running_Script_Test.py from omero-pychrm

From https://github.com/manics/omero-pychrm/blob/e6f7192c2dbedd14234268692fe238605ea2250e/scripts/Long_Running_Script_Test.py