add connection and queue