Revert "Fixes random host disconnection after establishing connection"

This reverts commit ded549693568bdb9dff088801a64b5abd46e085c.