support timeout value for connection to APNS.