chore, hygiene, rename pop_q() off sub.c to make_qqq() which is more intuitive

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, provide subq_flush_cb()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, upon shutdown (reco_cb() with NULL w) close twsc's socket and call the callback manually

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, refactor clean up work into twsc_conn_clos()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, free sdefs from the subq upon twsc_conn_clos()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, hygiene, don't call fini_tws() in main function

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, soften the return code contract upon cont_cb() in twsxml deserialiser, anything but 0 indicates we don't want the instrument

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
cosmetics, discard unreferenced local variable in ev_io_shut()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'fix/memleaks' into next

* fix/memleaks:
  cosmetics, discard unreferenced local variable in ev_io_shut()
  minor, soften the return code contract upon cont_cb() in twsxml deserialiser, anything but 0 indicates we don't want the instrument
  chore, hygiene, don't call fini_tws() in main function
  minor, free sdefs from the subq upon twsc_conn_clos()
  minor, refactor clean up work into twsc_conn_clos()
  minor, upon shutdown (reco_cb() with NULL w) close twsc's socket and call the callback manually
  minor, provide subq_flush_cb()
  chore, hygiene, rename pop_q() off sub.c to make_qqq() which is more intuitive