Arduino nano just stops randomly

Yes, it restarts normally.