cleanup http init