Add a 5 second delay on browser exit

This solves a race condition for coverage results, hopefully 5 seconds
is enough for a while.