Not necessary to close it here
Necessary to close here
Prevent errors when the file doesn't exist
Ensure the backup process isn't restarted if there's no process ID.

Process ID is cleared last.
Return the seconds elapsed for the backup to occur