Add timeout for players and castles actions.