Do a third attempt at storing the pid