Added sleep to give instance time to get ready