Fix locking issue
This release fixes an issue where a context timeout was set before it had acquired the connection lock. This resulted it i/o timeout errors. Now, a package-specific timeout can be configured that is started after the lock has been acquired.
Obviously, any timeout on the context that is coming from the outside are still subject to the old behaviour.