trying to fix the reconnection issue.