added waitConnect to linearbandwidth example.
fixed waitConnected performance and moved waitConnected call to mn.start