use a connection for peer