nanshe/nanshe_learner.py: Make daemon thread of memory_profiler_thread.