Adding a end of process delay loop for issues on a centOS 

On CentOS for some reason it seems to throw "Process was still running" errors due to the process taking longer than expected to complete, this happens on both a CentOS 6.4 ESXi server and also the AWS Linux AMI but I can't see any obvious reason for it... this hacky fix adds in a wait of up to three seconds to try and give the process enough time to finish.