upload failed attempt handler, added max retry attempts
increase socket and connection timeout