updated instructions, added reprocessing when unable to connect to
server (MAX_ATTEMPTS)