Fixed http restart issue