reset connection fix for all methods