Fixed file descriptors leak, responses not destroyed after sending is finished