Enable timeout on input.
Enable timeout on input.

With this change (and the changes on which this depends), we can now
run the complete test suite without any threads getting killed.
Threads now exit by themselves when the server wants to exit.

zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb