Added sleep to give ES enough time to replicate