Support to fork process as daemon