Fork timer process only in main.