added back 400 and 500 connection exceptions