Fix curl timeout in send script
Created by: stavamichal
- when curl ends with timeout (and return code 28), it will return http-code "000". We need to process this code and respond with proper message and error. For this situation the script will end with the same return code as curl (28)