Added ability to discard parser result keeping its connection, for cleaner semantic actions