close connection after 400