log status code as well
add retry server