Fix for Http#_onStackEnd call