Flush input buffer for a client connection when calling connection_teardown().