adding method to empty send buffer, limits