remove wrong external
fix #9, add auto reconnect and make client connect exception sync