Check process id when reloading