fixes the loss of logs when the script terminates; gives the socket a maximum of 10 seconds to send the remaining logs, all remaining logs will be dropped
fixes the loss of logs when the script terminates; gives the socket a maximum of 10 seconds to send the remaining logs, all remaining logs will be dropped

drgarcia1986/le_python,logentries/le_python,jcftang/le_python,siniar1990/le_python,graingert/le_python