Whenever the script logs in it keeps attempting to login again afterwards for whatever reason.