close HttpUrlConnection
fix parser if response is "null"