bugfix: missing statement that set socket to {active, once} mode.