Be stingy with the lock and take the smalest lock possible and release it as soon as possible instead of taking it for a complete method