add connectionTimeout and uploadTimeout for sending message