Removed call to notify()-method, called notifyAll() instead.