Wraps a Python class into its own thread in a way that the user need not do any explicit thread-management.