Added sleep to keep the while loop in check.