change to reconnect to keep connection