Add Leonardo comment, add proper wait loop

removed 8 second delay and add a wait loop for IP address.