use interact() instead of expect(P_EOF) when connection is OK