Adds stop option to SocketInputClass