slave closes master connection upon null input