Fix for unknown close connection