Revert weakref usage

I did not think it through
Drop pathlib.Path serialization
Add a lock around writer
Improve coverage CI workflow
Improve development and CI setup
Use ubuntu-20.04 for GitHub Actions
Update dependencies
Introduce event_queue_timeout
Allow to use bounded queues
Add publish workflow
Use scripts for GitHub actions
Upgrade project description
Upgrade GitHub actions
Remove unused import