close connection if forward seting removed