TAJO-1022: tsql does not work as background process

Closes #128