APF-1454: Added retry logic to starting fake SMTP server in case the port is already in use.