Keep the return value of Python init function alive while form open