http server locks fix