Remove flcache entries if the connection is prematurely closed from the client side.

Fix issue #1124

Signed-off-by: Mathias Kunert <mathias.kunert@dezem.de>