Set the command timeout to 5 seconds when recording package statistics

Illustrative pull request - not expected to be accepted. This is how I was thinking we'd set the command timeout to 5 seconds for recording package statistics.