added http shutdown