Fix some async servlet bugs