Add sleep statement to loop waiting for minion pubkey to be created to be more gentle on CPU usage