handle initial connection problems