Fixed bad implementation of pop, tested concurrency - works great