trying to force buffer clear
now freeing buffers
longer timeout for opening socket