Fixed race condition leading to connections being closed with pending tasks that never get cleaered.  Also added retry on making portal connections.
Fixed race condition leading to connections being closed with pending tasks that never get cleaered.  Also added retry on making portal connections.

PerilousApricot/lstore,tacketar/lstore,PerilousApricot/lstore,tacketar/lstore,PerilousApricot/lstore,accre/lstore,accre/lstore,tacketar/lstore,accre/lstore,accre/lstore,tacketar/lstore,PerilousApricot/lstore