For Python3, fix http server responses very slowly