This used to be the source of quite some lag when calling unlock, not sure if it matters, but thats why it was in a separate thread.