Remove pid_file before exit