IConnectionProfile profile = getConnectionProfile();
IStatus status = Status.OK_STATUS;
if (profile != null) {
status = profile.connect();
}
else {
status = CloudFoundryPlugin.getErrorStatus(NLS.bind(Messages.DataToolsTunnelAction_ERROR_CREATE_PROFILE, tunnelDescriptor.getServiceName()));
}