Updated to just return pid from connect rather than forcing user to come up with an atom just for local naming.