Removed static modifier on the locked object.