Added a safe exit in FileStorePoller if there is an unexpected
exception/error.