Fix a race condition which could result in profprocs being decremented more than once if stopprofclock is called multiple times on the same process.
Fix a race condition which could result in profprocs being decremented
more than once if stopprofclock is called multiple times on the same
process.

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase