Synchronize methods instead of using locks