Tasks pickup msgs in batches.APNSSocket read wait polls the socket periodically unto the maximum given time.