close gb client when fail