Update timestamp in idle state of module-null-source to fix crash in thread_func