Bug Fix

Fixed : Disconnect in local mode