consumer and producer run indefinetely now
bug fix in the deposit method