get_connection(Pid) added
bugfix