Only sleeping when first try to receive data was unsuccessful