Using OS level signals in Java