Congestion-aware Data Acquisition for Internet of Things