try-ensure block to close Firefox
implicit_wait, nor sleeps. does not catch failed logins yet
make the timeout configurable