Bank syncing check on login

- Caught a possible deadlock if sql statement throws an error